package com.jian.bus.vo;

import com.jian.bus.pojo.Sales;
import com.jian.bus.pojo.Salesback;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@EqualsAndHashCode(callSuper = false)
@Data
public class SalesbackVo extends Salesback {
    private Integer page=1;
    private Integer limit=10;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
